#include <vector>
#include "DrawEvent.h"


DrawEvent::DrawEvent(){
	dlist->push_back(this);
}

void DrawEvent::drawAll(){

	for (std::vector<DrawEvent*>::iterator i = dlist->begin(); i != dlist->end(); ++i)
		(*i)->draw();
}

std::vector<DrawEvent*> *DrawEvent::dlist = new std::vector<DrawEvent*>();